package org.ytor.core.model;

import lombok.Data;
import lombok.experimental.Accessors;
import org.ytor.common.anno.Dict;
import org.ytor.common.anno.Excel;

/**
 * created by yangtong on 2025/5/29 23:08:07
 * <br/>
 */
@Data
@Accessors(chain = true)
public class Person {
    @Excel(value = "id", width = 10)
    private Integer id;
    @Excel(value = "年龄")
    private Integer age;
    @Excel(value = "姓名")
    @Dict(table = "sys_user", code = "user_name", text = "real_name")
    private String name;
    @Excel(value = "爱好")
    private String hobby;
    @Excel(value = "手机号")
    private String phone;
    @Excel(value = "备注")
    private String remark;
    private String test;
    @Excel(value = "生日", format = "yyyy年MM月dd日")
    private String birthday;
}
